"""
Numpy中的数据类型：
    bool_
    int_
    int8
    int16
    1nt32
    int64
    uint8
    uint16
    uint32
    float_
    ...
    datetime64
"""
import numpy as np

n1 = np.array([1, 2, 3, 4], dtype=int)
print(n1)

n2 = np.array([1, 2, 3, 4], dtype='int32')
print(n2)

n3 = np.array([1, 2, 3, 4], dtype='int_')
print(n3)

n4 = np.array([1, 2, 3, 4], dtype='float_')
print(n4)

n5 = np.array([1, 2, 3, 4], dtype=float)
print(n5)

n6 = np.array(['2021-01-01'], dtype='datetime64')
print(n6)